package com.xiangban.yanglaodajie_platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/2/5 16:08
 */
@Data
@ApiModel("商家店铺表")
@TableName("shop")
public class Shop {

    @ApiModelProperty(value = "店铺id")
    @TableId(type = IdType.AUTO)
    private Integer shopId;

    @ApiModelProperty(value = "分类id")
    private Integer classifyId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺Logo")
    private String shopLogo;

    @ApiModelProperty(value = "店铺资质")
    private String shopCertification;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "店铺状态：1：启用，-1：禁用")
    private String status;

    @ApiModelProperty(value = "省code")
    private Integer cityCodeProVince;

    @ApiModelProperty(value = "市code")
    private Integer cityCodeCity;

    @ApiModelProperty(value = "区code")
    private Integer cityCode;

    @ApiModelProperty(value = "详细信息")
    private String address;

    @ApiModelProperty(value = "工作时间")
    private String workTime;

    @ApiModelProperty(value = "店铺电话")
    private String phone;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "商家标签")
    private String shopLabel;

    @ApiModelProperty(value = "服务设施")
    private String service;

    @ApiModelProperty(value = "优质服务")
    private String superiorService;

    @ApiModelProperty(value = "是否需要配送：1：是，-1：否")
    private Integer isDispatching;

    @ApiModelProperty(value = "是否是活动商家 1:正常商家，2:活动商家")
    private Integer isActivity;
}
